package com.fenghongzhang.a1902;

import com.flyco.tablayout.listener.CustomTabEntity;

public class MainTabAdapter implements CustomTabEntity {
    private  String title;
    private int image_true;
    private int image_flase;

    public MainTabAdapter(String title, int image_true, int image_flase) {
        this.title = title;
        this.image_true = image_true;
        this.image_flase = image_flase;
    }

    @Override
    public String getTabTitle() {
        return title;
    }

    @Override
    public int getTabSelectedIcon() {
        return image_true;
    }

    @Override
    public int getTabUnselectedIcon() {
        return image_flase;
    }
}
